//
//  NYDetailContentActionCell.h
//  NiuWaJiaoYu
//
//  Created by MinLison on 2018/1/10.
//  Copyright © 2018年 niuwaketang. All rights reserved.
//

#import "BaseTableViewCell.h"
#import "NYCourseModel.h"
typedef NS_ENUM(NSInteger,NYDetailContentActionType)
{
        /// 加入到我的课程
        NYDetailContentActionTypeAddToMyClasses,
        /// 完成该课程
        NYDetailContentActionTypeCompleteClasses,
};

typedef void (^NYDetailContentActionBlock)(NYDetailContentActionType actionType,  NYCourseModel *questionModel);

@interface NYDetailContentActionCell : BaseTableViewCell <NICell>
@property(nonatomic, copy) NYDetailContentActionBlock actionBlock;
@property(nonatomic, strong)  NYCourseModel *detailModel;
@end
